home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d12
/
v9n09.arc
/
PUSHP2.BAT
< prev
next >
Wrap
DOS Batch File
|
1990-04-09
|
557b
|
26 lines
:==========================================================:
: PUSHP2.BAT :
: Save current path on "stack" of setpath variables. :
:==========================================================:
@echo off
set N=
IF "%SETPATH3%"=="" SET N=SETPATH3
IF "%SETPATH2%"=="" SET N=SETPATH2
IF "%SETPATH1%"=="" SET N=SETPATH1
if "%N%"=="" goto ERROR
SET %N%=%PATH%
set N=
goto END
:ERROR
echo.
echo PUSHPATH ERROR: Path stack overflow...
echo | pause > nul:
:END